package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardReassignRequest struct {
	/*
	   请求入参     */
	ReassignStoreRequest *domain.TmallServicecenterWorkcardReassignReassignStoreRequest `json:"reassign_store_request,omitempty" required:"false" `
}

func (s *TmallServicecenterWorkcardReassignRequest) SetReassignStoreRequest(v domain.TmallServicecenterWorkcardReassignReassignStoreRequest) *TmallServicecenterWorkcardReassignRequest {
	s.ReassignStoreRequest = &v
	return s
}

func (req *TmallServicecenterWorkcardReassignRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ReassignStoreRequest != nil {
		paramMap["reassign_store_request"] = util.ConvertStruct(*req.ReassignStoreRequest)
	}
	return paramMap
}

func (req *TmallServicecenterWorkcardReassignRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
